#ifndef PSTYLEDBUTTONPLUGIN_H
#define PSTYLEDBUTTONPLUGIN_H
#include "pstyledbutton.h"
#include <QtCore/QObject>
#include <QtDesigner/QDesignerCustomWidgetInterface>
#include <QtCore/qplugin.h>
class QDesignerCustomWidgetInterface;

class PStyledButtonPlugin: public QObject, public QDesignerCustomWidgetInterface
{
    Q_OBJECT
        Q_INTERFACES(QDesignerCustomWidgetInterface)

    public:
        PStyledButtonPlugin(QObject *parent = 0);

        bool isContainer() const;
        bool isInitialized() const;
        QIcon icon() const;
        QString codeTemplate() const;
        QString domXml() const;
        QString group() const;
        QString includeFile() const;
        QString name() const;
        QString toolTip() const;
        QString whatsThis() const;
        QWidget *createWidget(QWidget *parent);
        void initialize(QDesignerFormEditorInterface *core);

    private:
        bool initialized;
  
};

#endif //PSTYLEDBUTTONPLUGIN_H
